
#include "ReadFile.h"

bool FileReader::OpenFile( char* FileName )
{
	if (!FileName)
	{
		return false;
	}

	m_pf=fopen(FileName,"r");
	
	if (!m_pf)
	{
		return false;
	}
}

FileReader::FileReader()
{
	m_pf=NULL;
	m_CacheSize=1;
}

FileReader::~FileReader()
{

}

void FileReader::SetCacheSize( int val )
{
	m_CacheSize=val;
	if (m_CacheSize<1)
	{
		m_CacheSize=1;
	}
}
